package com.fdd.spring.annotation;

public class HspSpringApplicationContextTest {
    public static void main(String[] args) {
        HspSpringApplicationContext ioc = new HspSpringApplicationContext(HspSpringConfig.class);
        Object myComponent = ioc.getBean("myComponent");
        System.out.println(myComponent);

        Object userService = ioc.getBean("userService");
        System.out.println(userService);



    }
}
